<?php 
require_once 'lib/controllerWithoutGetOrPost.php';
require_once 'view/standard-top.php';
require_once 'noticeurl.php';
require_once 'db/PersonDB.php';
require_once 'views/PersonView.php';
require_once 'models/PersonModel.php';
require_once 'db/PersonNoticesDB.php';
require_once 'views/PersonNoticesView.php';
require_once 'models/PersonNoticesModel.php';
$personNoticesDB = new PersonNoticesDB($db);
$view = new PersonNoticesView($html);
$personDB = new PersonDB($db);
$personView = new PersonView($html);
$personModel = new PersonModel($personDB, $personView);
$model = new PersonNoticesModel($personNoticesDB, $view, $personModel);
$personId = intval($_GET['personid']);
if(!empty($personId)) {
    echo $model->personNotices($personId, $_GET);
}
require_once 'view/standard-bottom.php';
?>